X-Git-Url: https://shimmer.witbreuk.eu/gitweb/UltimateKEYS.git/blobdiff_plain/fdedca82be3d839f10e106cd5b926a8193bf463f..e8bded70b573ed2f8091b7f1667fda7dd2d07fef:/autohotkey/UltimateKEYS%20(for%20AutoHotkey%20v1.1).ahk diff --git a/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk b/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk index 2113173..5d71d0a 100644 --- a/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk +++ b/autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk @@ -1,6 +1,6 @@ #requires AutoHotkey v1.1 -; UltimateKEYS (for AutoHotkey v1.1).ahk - 2023-09-05 +; UltimateKEYS (for AutoHotkey v1.1).ahk - 2024-01-22 ; Website : www.ultimatekeys.info (pieter-degroote.github.io/UltimateKEYS/) @@ -18,8 +18,8 @@ #NoEnv ; avoids checking empty variables to see if they are environment variables -ListLines Off ; omits recently executed lines from history (for privacy and security) #KeyHistory 0 ; disables the key history (for privacy and security) +ListLines Off ; omits recently executed lines from history (for privacy and security) SendMode Input ; optimizes for faster and more reliable input @@ -766,7 +766,7 @@ cmpQuad.item["2"] := "{u+2000}" ; en quad cmpQuad.item["3"] := "{u+2001}" ; em quad -; Compose : Arrows and Pointers +; Compose : Arrows and Pointing Triangles cmpArrow := ComObjCreate("Scripting.Dictionary") cmpArrow.item["w"] := "{u+25b2}" ; (▲) black up-pointing triangle @@ -809,7 +809,8 @@ cmpSymbols.item["c"] := "{u+2105}" ; (℅) care of cmpSymbols.item["d"] := "{u+22c4}" ; (⋄) diamond operator cmpSymbols.item["e"] := "{u+212e}" ; (℮) estimated symbol cmpSymbols.item["f"] := "{u+2640}" ; (♀) female sign (Venus) -cmpSymbols.item["h"] := "{u+2126}" ; (Ω) ohm sign (backwards compatibility) +cmpSymbols.item["h"] := "{u+2302}" ; (⌂) house +cmpSymbols.item["H"] := "{u+2126}" ; (Ω) ohm sign (backwards compatibility) cmpSymbols.item["i"] := "{u+2300}" ; (⌀) diameter sign cmpSymbols.item["l"] := "{u+2113}" ; (ℓ) script small l cmpSymbols.item["L"] := "{u+2112}" ; (ℒ) Laplace transform @@ -878,6 +879,7 @@ cmpMathSymbols.item["4"] := "{u+2237}" ; (∷) proportion sign cmpMathSymbols.item["6"] := "{u+2220}" ; (∠) angle symbol cmpMathSymbols.item["9"] := "{u+221f}" ; (∟) right angle cmpMathSymbols.item["0"] := "{u+2221}" ; (∡) measured angle +cmpMathSymbols.item[","] := "{u+2219}" ; (∙) bullet operator cmpMathSymbols.item["+"] := "{u+2295}" ; (⊕) circled plus cmpMathSymbols.item["-"] := "{u+2296}" ; (⊖) circled minus cmpMathSymbols.item["*"] := "{u+2297}" ; (⊗) circled times @@ -924,7 +926,7 @@ cmpCapitalT.item["H"] := "{u+00de}" ; (Þ) capital letter thorn cmpDigitEight := ComObjCreate("Scripting.Dictionary") cmpCapitalP := ComObjCreate("Scripting.Dictionary") -cmpSemicolon := ComObjCreate("Scripting.Dictionary") +cmpVerticalLine := ComObjCreate("Scripting.Dictionary") cmpAsterisk := ComObjCreate("Scripting.Dictionary") cmpExclam := ComObjCreate("Scripting.Dictionary") cmpQuestion := ComObjCreate("Scripting.Dictionary") @@ -949,14 +951,7 @@ cmpSmallR.item["4"] := "{u+221c}" ; (∜) fourth root cmpSymbols.item["o"] := "{u+00a7}" ; (§) section sign cmpCapitalS.item["o"] := "{u+00a7}" ; (§) section sign cmpSmallT.item["m"] := "{u+2122}" ; (™) trademark symbol -cmpSemicolon.item["b"] := "{u+2022}" ; (•) bullet -cmpSemicolon.item[";"] := "{u+2022}" ; (•) bullet -cmpSemicolon.item["t"] := "{u+2023}" ; (‣) triangular bullet -cmpSemicolon.item[">"] := "{u+2023}" ; (‣) triangular bullet -cmpSemicolon.item["h"] := "{u+2043}" ; (⁃) hyphen bullet -cmpSemicolon.item["-"] := "{u+2043}" ; (⁃) hyphen bullet -cmpSemicolon.item["w"] := "{u+25e6}" ; (◦) white bullet -cmpSemicolon.item["o"] := "{u+25e6}" ; (◦) white bullet +cmpVerticalLine.item["|"] := "{u+2016}" ; (‖) double vertical line cmpAcuteAccent.item["1"] := "{u+2032}" ; (′) prime cmpAcuteAccent.item["2"] := "{u+2033}" ; (″) double prime cmpAcuteAccent.item["3"] := "{u+2034}" ; (‴) triple prime @@ -965,8 +960,9 @@ cmpAsterisk.item["*"] := "{u+00d7}" ; (×) multiplication sign cmpStroke.item["/"] := "{u+00f7}" ; (÷) division sign cmpAsterisk.item["o"] := "{u+00b0}" ; (°) degree sign cmpRingAbove.item["*"] := "{u+00b0}" ; (°) degree sign -cmpDotAbove.item["."] := "{u+00b7}" ; (·) middle dot +cmpDotAbove.item["-"] := "{u+00b7}" ; (·) middle dot cmpDotAbove.item["3"] := "{u+2026}" ; (…) horizontal ellipsis +cmpDotAbove.item["."] := "{u+2026}" ; (…) horizontal ellipsis cmpArrow.item["-"] := "{u+00aa}" ; (ª) feminine ordinal indicator (Spanish, Portuguese, Italian, Galician) cmpRingAbove.item["-"] := "{u+00ba}" ; (º) masculine ordinal indicator (Spanish, Portuguese, Italian, Galician) cmpExclam.item["!"] := "{u+00a1}" ; (¡) inverted exclamation mark @@ -991,6 +987,30 @@ cmpGreaterThan.item["+"] := "{u+2a7e}" ; (⩾) greater-than or slanted equal t cmpTilde.item["~"] := "{u+2248}" ; (≈) almost equal to +; Compose : Bullets and Small Geometric Shapes (;) + +cmpSemicolon := ComObjCreate("Scripting.Dictionary") +cmpSemicolon.item["b"] := "{u+2022}" ; (•) bullet +cmpSemicolon.item["o"] := "{u+25e6}" ; (◦) white bullet +cmpSemicolon.item["h"] := "{u+2043}" ; (⁃) hyphen bullet +cmpSemicolon.item["t"] := "{u+2023}" ; (‣) triangular bullet +cmpSemicolon.item["q"] := "{u+25aa}" ; (▪) black small square +cmpSemicolon.item["u"] := "{u+25ab}" ; (▫) white small square +cmpSemicolon.item["w"] := "{u+25b4}" ; (▴) black up-pointing small triangle +cmpSemicolon.item["a"] := "{u+25c2}" ; (◂) black left-pointing small triangle +cmpSemicolon.item["s"] := "{u+25be}" ; (▾) black down-pointing small triangle +cmpSemicolon.item["d"] := "{u+25b8}" ; (▸) black right-pointing small triangle +cmpSemicolon.item["i"] := "{u+25b5}" ; (▵) white up-pointing small triangle +cmpSemicolon.item["j"] := "{u+25c3}" ; (◃) white left-pointing small triangle +cmpSemicolon.item["k"] := "{u+25bf}" ; (▿) white down-pointing small triangle +cmpSemicolon.item["l"] := "{u+25b9}" ; (▹) white right-pointing small triangle +cmpSemicolon.item["z"] := "{u+25a0}" ; (■) black square +cmpSemicolon.item["x"] := "{u+25a1}" ; (□) white square +cmpSemicolon.item["c"] := "{u+25c6}" ; (◆) black diamond +cmpSemicolon.item["v"] := "{u+25c7}" ; (◇) white diamond +cmpSemicolon.item[";"] := "{u+2022}" ; (•) bullet + + ; Compose : Vulgar Fractions cmpDigitOne := ComObjCreate("Scripting.Dictionary") @@ -1030,6 +1050,7 @@ cmpCedillaOgonek.item[chr(34)] := "{u+201e}" ; („) double low-9 quotation mar cmpDiaeresis.item[","] := "{u+201e}" ; („) double low-9 quotation mark cmpCedillaOgonek.item["'"] := "{u+201a}" ; (‚) single low-9 quotation mark cmpAcuteAccent.item[","] := "{u+201a}" ; (‚) single low-9 quotation mark +cmpCedillaOgonek.item[","] := "{u+201a}" ; (‚) single low-9 quotation mark cmpDiaeresis.item["["] := "{u+201c}" ; (“) left double quotation mark cmpBracketLeft.item[chr(34)] := "{u+201c}" ; (“) left double quotation mark cmpDiaeresis.item["]"] := "{u+201d}" ; (”) right double quotation mark @@ -1258,6 +1279,8 @@ cmpDigitTwo.item["s"] := "{u+2691}" ; (⚑) black flag cmpDigitTwo.item["t"] := "{u+26a0}" ; (⚠) warning sign cmpDigitTwo.item["u"] := "{u+26a1}" ; (⚡) high voltage sign cmpDigitTwo.item["v"] := "{u+26d4}" ; (⛔) no entry +cmpDigitTwo.item["w"] := "{u+231a}" ; (⌚) watch +cmpDigitTwo.item["x"] := "{u+231b}" ; (⌛) hourglass cmpDigitThree.item["a"] := "{u+2701}" ; (✁) upper blade scissors cmpDigitThree.item["b"] := "{u+2702}" ; (✂) black scissors @@ -1483,28 +1506,28 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 >!z:: if GetKeyState("CapsLock", "T") - Send {u+00c0} ; (À) A with grave + Send {u+00c1} ; (Á) A with acute else - Send {u+00e0} ; (à) a with grave + Send {u+00e1} ; (á) a with acute return >!+z:: if GetKeyState("CapsLock", "T") - Send {u+00e0} ; (à) a with grave + Send {u+00e1} ; (á) a with acute else - Send {u+00c0} ; (À) A with grave + Send {u+00c1} ; (Á) A with acute return >!x:: if GetKeyState("CapsLock", "T") - Send {u+00c1} ; (Á) A with acute + Send {u+00c0} ; (À) A with grave else - Send {u+00e1} ; (á) a with acute + Send {u+00e0} ; (à) a with grave return >!+x:: if GetKeyState("CapsLock", "T") - Send {u+00e1} ; (á) a with acute + Send {u+00e0} ; (à) a with grave else - Send {u+00c1} ; (Á) A with acute + Send {u+00c0} ; (À) A with grave return >!d:: @@ -1548,28 +1571,28 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 >!f:: if GetKeyState("CapsLock", "T") - Send {u+00c8} ; (È) E with grave + Send {u+00c9} ; (É) E with acute else - Send {u+00e8} ; (è) e with grave + Send {u+00e9} ; (é) e with acute return >!+f:: if GetKeyState("CapsLock", "T") - Send {u+00e8} ; (è) e with grave + Send {u+00e9} ; (é) e with acute else - Send {u+00c8} ; (È) E with grave + Send {u+00c9} ; (É) E with acute return >!g:: if GetKeyState("CapsLock", "T") - Send {u+00c9} ; (É) E with acute + Send {u+00c8} ; (È) E with grave else - Send {u+00e9} ; (é) e with acute + Send {u+00e8} ; (è) e with grave return >!+g:: if GetKeyState("CapsLock", "T") - Send {u+00e9} ; (é) e with acute + Send {u+00e8} ; (è) e with grave else - Send {u+00c9} ; (É) E with acute + Send {u+00c8} ; (È) E with grave return >!r:: @@ -1600,28 +1623,28 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 >!v:: if GetKeyState("CapsLock", "T") - Send {u+00cc} ; (Ì) I with grave + Send {u+00cd} ; (Í) I with acute else - Send {u+00ec} ; (ì) i with grave + Send {u+00ed} ; (í) i with acute return >!+v:: if GetKeyState("CapsLock", "T") - Send {u+00ec} ; (ì) i with grave + Send {u+00ed} ; (í) i with acute else - Send {u+00cc} ; (Ì) I with grave + Send {u+00cd} ; (Í) I with acute return >!b:: if GetKeyState("CapsLock", "T") - Send {u+00cd} ; (Í) I with acute + Send {u+00cc} ; (Ì) I with grave else - Send {u+00ed} ; (í) i with acute + Send {u+00ec} ; (ì) i with grave return >!+b:: if GetKeyState("CapsLock", "T") - Send {u+00ed} ; (í) i with acute + Send {u+00ec} ; (ì) i with grave else - Send {u+00cd} ; (Í) I with acute + Send {u+00cc} ; (Ì) I with grave return >!t:: @@ -1691,28 +1714,28 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 >!,:: if GetKeyState("CapsLock", "T") - Send {u+00d2} ; (Ò) O with grave + Send {u+00d3} ; (Ó) O with acute else - Send {u+00f2} ; (ò) o with grave + Send {u+00f3} ; (ó) o with acute return >!<:: if GetKeyState("CapsLock", "T") - Send {u+00f2} ; (ò) o with grave + Send {u+00f3} ; (ó) o with acute else - Send {u+00d2} ; (Ò) O with grave + Send {u+00d3} ; (Ó) O with acute return >!.:: if GetKeyState("CapsLock", "T") - Send {u+00d3} ; (Ó) O with acute + Send {u+00d2} ; (Ò) O with grave else - Send {u+00f3} ; (ó) o with acute + Send {u+00f2} ; (ò) o with grave return >!>:: if GetKeyState("CapsLock", "T") - Send {u+00f3} ; (ó) o with acute + Send {u+00f2} ; (ò) o with grave else - Send {u+00d3} ; (Ó) O with acute + Send {u+00d2} ; (Ò) O with grave return >!p:: @@ -1756,28 +1779,28 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 >!h:: if GetKeyState("CapsLock", "T") - Send {u+00d9} ; (Ù) U with grave + Send {u+00da} ; (Ú) U with acute else - Send {u+00f9} ; (ù) u with grave + Send {u+00fa} ; (ú) u with acute return >!+h:: if GetKeyState("CapsLock", "T") - Send {u+00f9} ; (ù) u with grave + Send {u+00fa} ; (ú) u with acute else - Send {u+00d9} ; (Ù) U with grave + Send {u+00da} ; (Ú) U with acute return >!j:: if GetKeyState("CapsLock", "T") - Send {u+00da} ; (Ú) U with acute + Send {u+00d9} ; (Ù) U with grave else - Send {u+00fa} ; (ú) u with acute + Send {u+00f9} ; (ù) u with grave return >!+j:: if GetKeyState("CapsLock", "T") - Send {u+00fa} ; (ú) u with acute + Send {u+00f9} ; (ù) u with grave else - Send {u+00da} ; (Ú) U with acute + Send {u+00d9} ; (Ù) U with grave return >!y:: @@ -1850,7 +1873,7 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 >!_::Send {u+2014} ; (—) em dash >!=::Send {u+00d7} ; (×) multiplication sign ->!+=::Send {u+00f7} ; (÷) division sign +>!+::Send {u+00f7} ; (÷) division sign >![::Send {u+00ab} ; («) left-pointing double angle quotation mark >!{::Send {u+2039} ; (‹) left-pointing single angle quotation mark @@ -1861,14 +1884,14 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 >!;::Send {u+00b0} ; (°) degree sign >!+;::Send {u+00b7} ; (·) middle dot ->!'::Send {u+2020} ; (†) dagger ->!"::Send {u+2021} ; (‡) double dagger +>!'::Send {u+266a} ; (♪) eighth note +>!"::Send {u+266b} ; (♫) beamed eighth notes >!\::Send {u+2002} ; en space >!|::Send {u+2003} ; em space >!/::Send {u+00bf} ; (¿) inverted question mark ->!?::Send {u+2026} ; (…) horizontal ellipsis +>!?::Send {u+2022} ; (•) bullet >!space::Send {u+00a0} ; non-breaking space (NBSP) >!+space::Send {u+00a0} ; non-breaking space (NBSP) @@ -1877,7 +1900,9 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 ; Configuration : Compose Key Selector >!`:: +>!~:: >!sc056:: +>!+sc056:: Input, keyA, L1, {bs}{del}{esc}{home}{end} Input, keyB, L1, {bs}{del}{esc}{home}{end} @@ -1959,8 +1984,8 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 Send % cmpCapitalT.item[keyB] else if (keyA == "P") Send % cmpCapitalP.item[keyB] - else if (keyA == ";") - Send % cmpSemicolon.item[keyB] + else if (keyA == "|") + Send % cmpVerticalLine.item[keyB] else if (keyA == "*") Send % cmpAsterisk.item[keyB] else if (keyA == "!") @@ -1979,6 +2004,8 @@ cmpSmallN.item["0"] := "{u+277f}" ; (❿) dingbat negative circled digit 10 Send % cmpLessThan.item[keyB] else if (keyA == ">") Send % cmpGreaterThan.item[keyB] + else if (keyA == ";") + Send % cmpSemicolon.item[keyB] else if (keyA == "1") Send % cmpDigitOne.item[keyB] else if (keyA == "2")